import { request } from "@/utils/request.js";
//登入亲求
export function loginAPI(forData) {
    return request({
        url:'/authorizations',
        method:'POST',
        data:forData
    })
}
//获取用户信息
export function getProfileAPI() {
    return request ({
        url:'/user/profile',
        method:'GET',
    })
}